﻿using System.Collections.Generic;

namespace DataAccessLayer
{
    public sealed class MiniBossFactory : MiniBossFactoryBase
    {
        public override MiniBossEnemy ConstructMiniBoss(int hp, int power, int speed, EditorRect sourceRect, List<EditorRect> colRects, int bulletCount, int bulletInterval)
        {
            return new MiniBossEnemy
                       {
                           Hp = hp,
                           Power = power,
                           Speed = speed,
                           CollisionRectangles = colRects,
                           SourceRect = sourceRect,
                           BulletCount = bulletCount,
                           ShootInterval = bulletInterval
                       };
        }
    }
}